import type { RouteRecordItem } from 'vc/src/router';

import { LAYOUT } from '@/router/constants';

const utils: RouteRecordItem = {
  path: '/greenManufacturing',
  component: LAYOUT,
  meta: {
    title: '绿色制造',
    menuIndex: 0,
    subMenuIndex: 3
  },
  children: [
    {
      path: 'greenFactory',
      component: () => import('@/views/modules/greenManufacturing/greenFactory/index.vue'),
      meta: {
        title: '绿色工厂'
      }
    },
    {
      path: 'greenSupplyChain',
      component: () => import('@/views/modules/greenManufacturing/greenSupplyChain/index.vue'),
      meta: {
        title: '绿色供应链管理企业'
      }
    },
    {
      path: 'greenIndustrialPark',
      component: () => import('@/views/modules/greenManufacturing/greenIndustrialPark/index.vue'),
      meta: {
        title: '绿色工业园区'
      }
    },
    {
      path: 'greenDesignList',
      component: () => import('@/views/modules/greenManufacturing/greenDesignList/index.vue'),
      meta: {
        title: '绿色设计产品名单'
      }
    },
    {
      path: 'greenDesignModel',
      component: () => import('@/views/modules/greenManufacturing/greenDesignModel/index.vue'),
      meta: {
        title: '工业绿色产品设计示范企业'
      }
    }
  ]
};

export default utils;
